<?php
require ("../include/config.php");

require($config['basedir']."/admin/classes/login.class.php");
$obj_login = new Login();
$obj_login->redirectLoginUser();
$post = $_REQUEST;
if( isset($_REQUEST['action']) && $_REQUEST['action'] == 'login' )
{
	$obj_login->do_login($post);
}
if($_REQUEST['send'] == 1)	{
	global $msgOk;
	$msgOk = 'Password reset link has sent to your email address. Please use the link to reset your password';
}
stemplate::assign("post", $post);	
stemplate::display("admin/login.tpl");

?>